import { Button, Drawer } from 'antd'
import React from 'react'
import { useProjectModal } from './util'

export function ProjectModal() {
  const {projectModalOpen, close} = useProjectModal()
  return (
    <Drawer
      title="创建项目"
      width="100%"
      placement="right"
      onClose={close}
      open={projectModalOpen}
    >
      <h1>Project Modal</h1>
      <Button onClick={close}>关闭</Button>
    </Drawer>
  )
}
